﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace View.LibrarianForms
{
    public class LibrarianEventArgs : EventArgs
    {
        public Int32? Id { get; set; }

        public string Name { get; set; }

        public string Address { get; set; }

        public string Phone { get; set; }

        public bool IsAdmin { get; set; }

        public string Username { get; set; }

        public string Password { get; set; }

        public LibrarianEventArgs(
            Int32? id = null,
            string name = null,
            string address = null,
            string phone = null,
            bool isAdmin = false,
            string username = null,
            string password = null)
        {
            this.Id = id;
            this.Name = name ?? "";
            this.Address = address ?? "";
            this.Phone = phone ?? "";
            this.IsAdmin = isAdmin;
            this.Username = username ?? "";
            this.Password = password ?? "";
        }

    }
}
